﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pasys.PresentationCore;
using System.Windows.Forms;
using Pasys.PresentationCore.DockShell;
using Pasys.PresentationCore.DockShell.SmartPartInfos;

namespace Pasys.Document
{
    public class SystemSettingInnerProvider: AbstractViewProvider
    {
        protected override Control CreateControl()
        {
            var f = new Views.FrmInner01();
            return f;
        }

        protected override ISmartPartInfo CreateViewInfo()
        {
             return new DockPanelSmartPartInfo()
            {
                //Icon = icon,
                DockingType = DockingType.Document,
                ShowStrategy = new DockStateShowStrategy(DockState.Document)
            };
        }
    }
}
